/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/',
    component: () => import('@/views/layouts/index'),
    redirect: '/login',
    meta: {
      title: '登录',
      keepAlive: false
    },
    children: [
      {
        path: '/home',
        name: 'Home',
        component: () => import('@/views/home/index'),
        meta: { title: '首页', keepAlive: false, login: true },
      },
      {
        path: '/login',
        name: 'Login',
        component: () => import('@/views/home/login'),
        meta: { title: '关于我', keepAlive: false, login: false }
      }
    ]
  }, {
    path: '/Transfer',
    name: 'Transfer',
    component: () => import('@/views/Transfer/index'),
    meta: { title: '转账', keepAlive: false, login: true },
  },
  {
    path: '/Insurance',
    name: 'Insurance',
    component: () => import('@/views/Insurance/index'),
    meta: { title: '保险', keepAlive: false, login: true },
  },
  {
    path: '/moneyManagement',
    name: 'moneyManagement',
    component: () => import('@/views/moneyManagement/index'),
    meta: { title: '理财', keepAlive: false, login: true },
  },
  {
    path: '/loan',
    name: 'loan',
    component: () => import('@/views/loan/index'),
    meta: { title: '贷款', keepAlive: false, login: true },
  },
  {
    path: '/transferManagement',
    name: 'transferManagement',
    component: () => import('@/views/Transfer/transferManagement/index'),
    meta: { title: '转账管理', keepAlive: false, login: true },
  },
  {
    path: '/singleTransfer',
    name: 'singleTransfer',
    component: () => import('@/views/Transfer/singleTransfer/index'),
    meta: { title: '单笔转账', keepAlive: false, login: true },
  }
]